<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子</title>
</head>
<body>
    <div>
        网页就像一个盒子
        <p>盒子1</p>
        <p>盒子2</p>
        <img src="./yuanlongping.webp" alt="" width="50px">
        盒中盒
    </div>
    <style>
        div{
            border-top:6px purple double;
            border-bottom: 6px gray solid;
            border-left: 6px blue double;
            border-right: 6px aqua solid;
            padding: 20px;
            margin: 30px;
            width: 200px;
        }
        p{
            border-top:10px red solid;
            border-bottom: 10px pink double; 
            border-left: 10px black solid;
            border-right: 10px green  double;
            background-color: yellow ;
            padding: 20px ;
            margin: 30px;
            width: 50px;
        }
    </style>
</body>
</html>